package cn.itsource.basic.util;

import lombok.Data;

@Data
public class AjaxResult {
	private Boolean success = true;
	private String error;
	private Object resultObj;


	public AjaxResult setResultObj(Object resultObj){
		this.resultObj = resultObj;
		return this;
	}
	public AjaxResult() {

	}
	public AjaxResult(Boolean success, String error) {
		super();
		this.success = success;
		this.error = error;
	}

}
